package com.im.gate.server;

import com.google.protobuf.InvalidProtocolBufferException;
import com.google.protobuf.Parser;
import com.im.core.proto.entity.Auth;
import com.rou.im.framework.core.Request;

/**
 * <p></p>
 *
 * @author GaoShuangWen
 * @since 2020-04-26 22:08
 */
public class AuthMsgService {

  /*  public Object service(Request request) {
        try {
            Auth.AuthRequest authRequest = Auth.AuthRequest.parseFrom((byte[]) request.getRequestMsgBody());
            Parser<Auth.AuthRequest> parser = Auth.AuthRequest.parser();
            Auth.AuthRequest authRequest1 = parser.parseFrom((byte[]) request.getRequestMsgBody());
        } catch (InvalidProtocolBufferException e) {
            e.printStackTrace();
        }
        return Auth.AuthResponse.newBuilder().setStatus(Auth.AuthResponse.Status.OK.getNumber()).build();
    }*/
}
